package com.amap.config;

import com.amap.constants.Constants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Primary;

/**
 * 商家调用高德配置
 * @author liuyi
 * @since 2025/10/31 9:16
 */
@Data
@ConfigurationProperties(prefix = "amap.merchant")
@Primary
public class AmapMerchantConfig {

    private String appId;
    private String merchantPrivateKey;
    private String serverUrl;
    private String signType = Constants.SIGN_TYPE_RSA2;
}
